import { orientationRequest } from '../utils/request.js'
import { blankRequest,twoBlank } from '../utils/config'
//H5人脸识别
export function getH5FaceCheckGetUrl(data) {
	return orientationRequest(blankRequest, '/bocom/account/H5FaceCheckGetUrl', 'post', data)
}
//一类户解约
export function oneCountDelete(data) {
	return orientationRequest(blankRequest, '/bocom/account/removeBankCard', 'post', data)
}
//一类户收集信息
export function oneCountInfo(data) {
	return orientationRequest(blankRequest, '/bocom/account/addBankOneCard', 'post', data)
}
//二类户绑定学生
export function TwoUserBinded(data) {
	return orientationRequest(blankRequest, '/bocom/account/bocomAccountbindEmp', 'post', data)
}
//注销账号
export function DeleteUser(data,parmas) {
	return orientationRequest(blankRequest, `/student/user/logoutAppUser?${parmas}`, 'post', data)
}
//查看一类信息验证
export function seeOneCardInfo(data) {
	return orientationRequest(blankRequest, '/bocom/account/openCardInfo', 'post', data)
}
//二类户解绑学生
export function TwoUserDeleteStu(data) {
	return orientationRequest(blankRequest, '/bocom/account/bocomAccountUnbindEmp', 'post', data)
}
//获取二类户绑定学生列表
export function TwoUserBindStuList(data) {
	return orientationRequest(blankRequest, '/bocom/account/selectBocomAccountBingEmpList', 'post', data)
}
//二类户换绑一类户卡号
export function TwoUserChangeBind(data) {
	return orientationRequest(blankRequest, '/bocom/account/acountOpChangebinding', 'post', data)
}
//获取能开户的学校
export function getSchool(data) {
	return orientationRequest(blankRequest, '/appBankConfig/getCanOpenOrgList', 'get', data)
}
//二类户销户
export function deteleUserInfo(data) {
	return orientationRequest(blankRequest, '/bocom/account/acountOpCancellation', 'post', data)
}
//二类户换绑一类卡，短信发送3
export function changeUserCode(data) {
	return orientationRequest(blankRequest, '/bocom/account/sendAcountOpMsg', 'post', data)
}
//二类户销户，短信发送1
export function deleteUserCode(data) {
	return orientationRequest(blankRequest, '/bocom/account/sendAcountXhMsg', 'post', data)
}
//快捷支付签约
export function quickPaymentSuccess(data) {
	return orientationRequest(blankRequest, '/bocom/account/appointBPay', 'post', data)
}
//交易明细查询
export function transactionDetail(data) {
	return orientationRequest(blankRequest, '/bocom/account/acctTrdDtlCB3065Qry', 'post', data)
}
//快捷支付签约发送短信
export function quickPaymentSendCode(data) {
	return orientationRequest(blankRequest, '/bocom/account/sendMsgBPay', 'post', data)
}
//获取二类户列表,是否开过户
export function getTwoUserList(data) {
	return orientationRequest(blankRequest, '/bocom/account/selectBocomAccountList', 'post', data)
}
//获取银行卡名称
export function getBlankName(data) {
	return orientationRequest(blankRequest, '/bocom/account/selectBankName', 'post', data)
}
//提现发送短信
export function withDraw(data) {
	return orientationRequest(blankRequest, '/bocom/account/sendTypePayMsg', 'post', data)
}
//二类户往一类户提现
export function twoUserToOneUser(data) {
	return orientationRequest(blankRequest, '/bocom/account/typePay', 'post', data)
}
//二类户往一类户提现查证交易
export function twoUserWithOneUser(data) {
	return orientationRequest(blankRequest, '/bocom/account/typePayQuery', 'post', data)
}
//二类卡充值发送短信
export function rechargeCode(data) {
	return orientationRequest(blankRequest, '/bocom/account/sendTransferMsg', 'post', data)
}
//二类卡充值查询交易结果
export function getTwoResult(data) {
	return orientationRequest(blankRequest, '/bocom/account/doTransferQuery', 'post', data)
}
//二类卡充值
export function rechargePay(data) {
	return orientationRequest(blankRequest, '/bocom/account/doTransferPay', 'post', data)
}
// 上传身份证影像
export function putIdentity(data) {
	return orientationRequest(blankRequest, '/bocom/account/uploadIdcardImg', 'post', data)
}
//人脸识别
export function personFace(data) {
	return orientationRequest(blankRequest, '/bocom/account/faceRecognition', 'post', data)
}
//发送短信
export function getPhoneCode(data) {
	return orientationRequest(blankRequest, '/bocom/account/smsSendOpenAccount', 'post', data)
}
//开户
export function createNewUser(data) {
	return orientationRequest(blankRequest, '/bocom/account/openAccount', 'post', data)
}
//用户二类绑定学生
export function bindTwoEmpStu(data) {
	return orientationRequest(blankRequest, '/bocom/account/bindEmp', 'post', data)
}
//二类户查询余额
export function getMoneny(data) {
	return orientationRequest(blankRequest, '/bocom/account/selectAccountAmount', 'post', data)
}
//查询省信息列表
export function getProvinceList(data) {
	return orientationRequest(blankRequest,'/sysBaseArea/provinceList', 'get', data)
}
//查询省市县详细信息
export function getCityList(data,parmas) {
	return orientationRequest(blankRequest,`/sysBaseArea/getListByParentId/${parmas}`, 'get', data)
}
//省份证ocr
export function idCardOCR(data) {
	return orientationRequest(blankRequest, '/bocom/account/idCardOCR', 'post', data)
}
//获取详细职业
export function getWorkList(data,parmas) {
	return orientationRequest(blankRequest,`/sysBaseOccupation/getListByParentId/${parmas}`, 'get', data)
}
//获取主要职业
export function getMainWorkList(data) {
	return orientationRequest(blankRequest,'/sysBaseOccupation/masterOccupationList', 'get', data)
}